home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Atari Mega Archive 1
/
Atari Mega Archive - Volume 1.iso
/
ste
/
autoexec.lzh
/
SOURCE
/
HEADER.H
< prev
next >
Wrap
Text File
|
1991-08-05
|
750b
|
23 lines
/* Header file for get_cookie(), and load_segm() */
int get_cookie(long cookie, long *p_value);
/* Returns zero if the 'cookie' is not found in the jar.
* if the cookie is found it returns non zero and places the
* value in the longword pointed to by 'p_value'. If 'p_value'
* is '0l' it does not put the value anywhere...
*/
/* the DMA play back frequency, this variable is changed by
* the function LoadSegm()
*/
int PlayFreq = 129;
int LoadSegm(int file, int *rep_segm, long length, long *segm);
/* read and relocate the file 'file'. Load it in the block pointed
* to by 'segm' of the length 'length'. the function returns the
* repeat point in the segment file, and changes the global var.
* 'PlayFreq'
*/